﻿//function fnCustomSave()
//{
//    //if (instance.parent_id == "") {
//    //    instance.parent_id = "00000000-0000-0000-0000-000000000000";
//    //}
//    //return "";
//}
$(document).ready(function () {
    var channel_id = instance.channel_id;
    var ctrl = mini.get("parent_id");
    var url = ctrl.url.replace("@channel_id", channel_id);
    //alert(url);
    mini.get("parent_id").load(url);
    ctrl.setValue(instance.parent_id);
});

